package com.car.dal.dao.user;

import java.util.List;

import com.car.bean.GridObj;
import com.car.bean.OrderObj;
import com.car.bean.PageObj;
import com.car.dal.dao.ibatis.IbatisCommonDao;
import com.car.dal.object.QqGroup;

public class QqgroupDaoImpl extends IbatisCommonDao<QqGroup, Long> implements QqgroupDao {

	@Override
	public GridObj GetList(QqGroup group, PageObj pageObj) {
		OrderObj order = new OrderObj();
		order.setDir("desc");
		order.setSort("id");
		return super.findByPage(group, pageObj, order);
	}

	@Override
	public List<QqGroup> getqqGroup(QqGroup group) {
		List<QqGroup> list = this.queryForEntityList(QqGroup.class, "getqqGroup", group);
		return list;
	}
	
}
